]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Clean up consoleBackgroundGroup
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 20 Feb 2013 01:31:56 +0000 (20:31 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 20 Feb 2013 16:36:19 +0000 (11:36 -0500)
We shouldn't leave a reference to a destroyed actor just hanging
around.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

js/ui/layout.js

index 994d79c30292d10bca6ac2f8df0a3ff6e27fd818..4d5dd49c4cb26a529f40e3cf48662963dd558eb0 100644 (file)
@@ -607,6 +607,8 @@ const LayoutManager = new Lang.Class({
         global.stage_input_mode = Shell.StageInputMode.NORMAL;
 
         this._consoleBackgroundGroup.destroy();
+        this._consoleBackgroundGroup = null;
+
         this._startingUp = false;
 
         this.trayBox.show();